<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html" 
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:c="http://java.sun.com/jsp/jstl/core" >
 <head>
 </head>    
  <ui:composition template="/templates/default/template.xhtml">
    	<ui:define name="body"> 
 			<h:panelGrid columns="1" style="margin-left:5px;width:100%">	
 				<!--  tieu de -->
	 			<h:panelGrid columns="3" styleClass="columPanelbaritemTitle">
					<h:graphicImage value="/templates/default/images/left-heading_01.jpg" style="margin-left:-4px;margin-bottom:0px"></h:graphicImage>
			  		<h:outputText value="Liên hệ" styleClass="panelbaritemTitle"></h:outputText>
					<h:graphicImage value="/templates/default/images/left-heading_03.jpg"></h:graphicImage>
		  		</h:panelGrid>
		  			<!-- ket thuc tieu de -->
					<!-- phan noi dung phia duoi -->
		  		<h:panelGrid columns="1" styleClass="panelGridBody">
				<h:form>
				<rich:panel style="background:#FFFFFF">
				   <h:panelGrid columns="1" style="margin-left:20px">			       
			       <h:outputText value="Địa chỉ liên hệ:" style=" color: black;font-size: 13px;font-weight: bold;"/>
			       <h:outputText value="Sở ngoại vụ tỉnh Đồng Nai" style=" color: red;font-size: 15px;font-weight: bold;">
			       </h:outputText>
			       </h:panelGrid>
			       <h:panelGrid columns="2" style="margin-left:20px">
			       <h:outputText value="Địa chỉ: " style=" color: black;font-size: 13px;font-weight: bold;"/>
			       <h:outputText value="Số 6, Võ Thị Sáu, Phường Quyết Thắng, Biên Hòa, Đồng Nai" style=" color: black;font-size: 13px;"/>
			       <h:outputText value="Điện thoại: " style=" color: black;font-size: 13px;font-weight: bold;"/>
			       <h:outputText value="0613.842584 - 0613.843232 - 0613.842587" style=" color: black;font-size: 13px;"/>
			       <h:outputText value="Fax: " style=" color: black;font-size: 13px;font-weight: bold;"/>
			       <h:outputText value="0613.842935" style=" color: black;font-size: 13px;"/>
			       <h:outputText value="Email: " style=" color: black;font-size: 13px;font-weight: bold;"/>
			       <h:outputText value="dofadn@vnn.vn" style=" color: black;font-size: 13px;"/>
			       </h:panelGrid>
			      
			      <h:panelGrid columns="1" style="margin-left:20px">
			      <br></br>
			      <h:graphicImage value="/lienhe/images/lienhe.gif"></h:graphicImage>
			      </h:panelGrid>
			      
			       <h:panelGrid columns="2" style="margin-left:20px">			       
			      
			      <h:outputText value="Tiêu đề(*):" style=" color: black;font-size: 13px;font-weight: bold;"/>
			      <h:inputText value="#{lienHe.tieuDe}" styleClass="Input"></h:inputText>
			      
			      <h:outputText value="Người gởi:" style=" color: black;font-size: 13px;font-weight: bold;"/>
			      <h:inputText value="#{lienHe.nguoiGoi}" styleClass="Input"></h:inputText>
			      
			      <h:outputText value="Email(*):" style=" color: black;font-size: 13px;font-weight: bold;"/>
			      <h:inputText value="#{lienHe.diaChiEmail}" styleClass="Input"></h:inputText>
			      
			      <h:outputText value="Điện thoại:" style=" color: black;font-size: 13px;font-weight: bold;"/>
			      <h:inputText value="#{lienHe.dienThoai}" styleClass="Input"></h:inputText>
			      
			      <h:outputText value="Địa chỉ:" style=" color: black;font-size: 13px;font-weight: bold;"/>
			      <h:inputText value="#{lienHe.diaChi}" styleClass="Input"></h:inputText>
			      
			       <h:outputText value="Nội dung(*):" style=" color: black;font-size: 13px;font-weight: bold;"/>
			     <h:inputTextarea value="#{lienHe.noiDung}" style="margin-left:3px;" rows="5" cols="34" ></h:inputTextarea>
		         </h:panelGrid>
		         
		         <h:panelGrid columns="2" style="margin-left:190px;margin-top:10px">
			    	<a4j:commandButton  value="Gửi đi" styleClass="Button"
			    	   reRender="idError" action="#{lienHe.gui}" ></a4j:commandButton>
			    	<a4j:commandButton  value="Reset" styleClass="Button" action="#{lienHe.reset}"></a4j:commandButton>
			      </h:panelGrid>
		         
		  		</rich:panel>
		  		  <!-- ket thuc action -->
				</h:form>
			   </h:panelGrid>				  
			</h:panelGrid>  
</ui:define>
</ui:composition>			
      
 </html>     